//
//  AddStoreNumView.h
//  Yanwei
//
//  Created by Seven-Augus on 2017/4/21.
//  Copyright © 2017年 DCloud. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NumberKeyboardAndToolTextField.h"

@protocol AddStoreNumViewDelegate <NSObject>

- (void)didSelectedReduceNumOrAddButton:(NSString *)storeNum;

@end

@interface AddStoreNumView : UIView

@property (nonatomic, strong) UIButton *reduceNumButton; // 减少数量按钮
@property (nonatomic, strong) UIButton *addNumButton; // 增加数量按钮
@property (nonatomic, strong) NumberKeyboardAndToolTextField *numTextField; // 输入数字输入框

@property (nonatomic, strong) NSString *inventory; // 库存数
@property (nonatomic, copy) NSString *minCount; // 最低购买量

@property (nonatomic, strong) id<AddStoreNumViewDelegate>delegate;

- (void)changeAddNumButtonColor:(BOOL)isChangeColor;
- (void)changeReduceNumButtonColor:(BOOL)isChangeColor;

@end
